import request from "@/config/request"

export const loadAdmindepart=function(params={}){
   return request({
    url:"/api/v1/admin/faculties",
    methods: "get",
    params:params
   })
}

export const removeAdmindepart=function(department_id){
    return request({
        url:"/api/v1/admin/faculties",
        methods:"DELETE",
        params:{department_id:department_id}
    })
}

export const addNewDepart = function(){
    return request({
        url:"/api/v1/admin/faculties",
        methods:"POST",
        data:data
    })
}